class CreateTweets < ActiveRecord::Migration
  def self.up
    create_table :tweets do |t|
      t.string :tweet_created_at
      t.integer :upload_day
      t.integer :upload_month
      t.integer :upload_year
      t.integer :twitter_status_id
      t.string :text
      t.string :source
      t.boolean :truncated
      t.integer :in_reply_to_status_id
      t.integer :in_reply_to_user_id
      t.boolean :favorited
      t.string :in_reply_to_screen_name
      t.references :tag

      t.timestamps
    end
  end

  def self.down
    drop_table :tweets
  end
end
